package weka;

import weka.core.Instances;

/**
 * Created by taohj on 2014/12/29.
 */
public abstract class AbstractHelpper {

    private Instances m_Instances;

    private  String ClassName;


    private  String option;



    public AbstractHelpper(String filepath, String className, String option) throws Exception {
        this.setM_Instances(CommonUtils.getInstances(filepath));
        ClassName = className;
        this.option = option;
    }

    public Instances getM_Instances() {
        return m_Instances;
    }

    public void setM_Instances(Instances m_Instances) {
        this.m_Instances = m_Instances;
    }

    public String getClassName() {
        return ClassName;
    }

    public void setClassName(String className) {
        ClassName = className;
    }

    public String getOption() {
        return option;
    }

    public void setOption(String option) {
        this.option = option;
    }

    public  abstract StringBuffer   start() throws Exception;
}
